<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
 <meta charset="utf-8">
 <title>用户角色管理</title>
 <meta name="renderer" content="webkit">
 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
 <link rel="stylesheet" href="../layui/css/layui.css" th:href="@{../layui/css/layui.css}" media="all">
<link href="favicon.ico" rel="shortcut icon">
</head>
<script th:src="@{../../layui/layui.js}" charset="utf-8"></script>
<body>
<ol> 
	<li>List循环： 
		<table border="12"> 
			<tr> 
				<th>用户名</th> 
				<th>邮箱</th> 
				<th>管理员</th> 
				<th>状态变量：index</th> 
				<th>状态变量：count</th> 
				<th>状态变量：size</th> 
				<th>状态变量：current.pname</th> 
				<th>状态变量：even</th> 
				<th>状态变量：odd</th> 
				<th>状态变量：first</th> 
				<th>状态变量：last</th> 
			</tr> 
			<tr  th:each="user,userStat : ${party}"> 
				<td th:text="${user.pname}">Onions</td> 
				<td th:text="${user.email}">test@test.com.cn</td> 
				<td th:text="${user.phone}">yes</td> 
				<th th:text="${userStat.index}">状态变量：index</th> 
				<th th:text="${userStat.count}">状态变量：count</th> 
				<th th:text="${userStat.size}">状态变量：size</th> 
				<th th:text="${userStat.current.pname}">状态变量：current</th> 
				<th th:text="${userStat.even}">状态变量：even****</th> 
				<th th:text="${userStat.odd}">状态变量：odd</th> 
				<th th:text="${userStat.first}">状态变量：first</th> 
				<th th:text="${userStat.last}">状态变量：last</th> 
			</tr> 
		</table>
	</li> 
	<li>Map循环： 
		<div th:each="mapS:${party}"> 
			<div th:text="${mapS.pname}"></div> 
			<div th:text="${mapS.email}"></div> 
		</div> 
	</li> 
	<li>数组循环： 
	<div th:each="arrayS:${party}"> 
		<div th:text="${arrayS}"></div> 
	</div> 
	</li> 
</ol> 

</body> 
</html>